﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Film.Repository;

namespace PhuongDoAn.UC
{
    public partial class uc_right : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session[ConfigKey.WEB_USER] != null)
            {
                tblUserAccount currentUser = (tblUserAccount)Session[ConfigKey.WEB_USER];
                ltFullName.Text = currentUser.FullName;

                //ltHint.Text = "<li><a href='Default.aspx?page=hint'>Gợi ý cho bạn</a></li>";
                ltHint.Text = "<li><a href='Suggestions.aspx'>Gợi ý cho bạn</a></li>";
                
            }
            else
            {
                ltHint.Text = "";
            }
        }
    }
}